package com.web.model.abst;

/**
 * @author Kenneth
 * @version 1.0Beta
 * @createDate 2011-07-15 11:59:28
 */
public abstract class AbstractMessage {

	// table-name
	public static final String TABLE_NAME = "TW_MESSAGE";
	
	// table-columns
	public static final String COLUMN_TITLE = "TITLE";
	
	public static final String COLUMN_CONTENT = "CONTENT";
	
	public static final String COLUMN_ADDTIME = "ADDTIME";
	
	public static final String COLUMN_USERID = "USERID";
	
	public static final String COLUMN_USERIP = "USERIP";
	
	public static final String COLUMN_STATE = "STATE";
	
	public static final String COLUMN_MSGID = "MSGID";

	// model-object propertys
	private java.lang.String title;
	
	private java.lang.String content;
	
	private java.lang.Object addtime;
	
	private java.lang.Integer userid;
	
	private java.lang.String userip;
	
	private java.lang.Integer state;
	
	private java.lang.Integer msgid;

	public AbstractMessage() {
	}

	// propertys-(getter and setter)
	public void setTitle(java.lang.String title) {
		this.title = title;
	}

	public java.lang.String getTitle() {
		return title;
	}
	
	public void setContent(java.lang.String content) {
		this.content = content;
	}

	public java.lang.String getContent() {
		return content;
	}
	
	public void setAddtime(java.lang.Object addtime) {
		this.addtime = addtime;
	}

	public java.lang.Object getAddtime() {
		return addtime;
	}
	
	public void setUserid(java.lang.Integer userid) {
		this.userid = userid;
	}

	public java.lang.Integer getUserid() {
		return userid;
	}
	
	public void setUserip(java.lang.String userip) {
		this.userip = userip;
	}

	public java.lang.String getUserip() {
		return userip;
	}
	
	public void setState(java.lang.Integer state) {
		this.state = state;
	}

	public java.lang.Integer getState() {
		return state;
	}
	
	public void setMsgid(java.lang.Integer msgid) {
		this.msgid = msgid;
	}

	public java.lang.Integer getMsgid() {
		return msgid;
	}

}
